package lanQiao;

import java.util.*;

public class NumSort
{
	public static void main(String[] args)
	{
		Scanner s = new Scanner(System.in);
		
		int i=s.nextInt();
		int[] n = new int[i];
		
		for(;--i>-1;)
		{
			n[i] = s.nextInt();
		}
		
		Arrays.sort(n);
		
		for(int t:n)
		{
			System.out.print(t+" ");
		}
	}
}
